package com.cjy.dao;

import com.cjy.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User,Long> {

    User findByAccountAndPassword(String account,String password);

    User findByAccount(String account);

    User findByEmail(String email);
}
